Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Apr 3, 2025

Context

Implementation

Screenshots

before after

How to Test

Get in Touch


Important

Enhance evals with increased concurrency, improved task handling, web app updates, and enable WAL mode for SQLite.

  • Concurrency and Timeouts:
    • Increase MAX_CONCURRENCY to 20 and TASK_TIMEOUT to 10 minutes in index.ts.
    • Adjust javascript test command timeout to 15s in index.ts.
  • Task Handling:
    • Add TaskResult and TaskPromise types in index.ts.
    • Implement processTaskResult() to manage task promises in index.ts.
    • Modify runExercise() to handle task retries and disconnections in index.ts.
  • Web App Enhancements:
    • Add token formatting in format-tokens.ts.
    • Update Home component to display token usage and add navigation button in home.tsx.
    • Modify Run component to conditionally show ConnectionStatus in run.tsx.
  • Database and Scripts:
    • Add db:enable-wal script in package.json and enable-wal.mts to enable WAL mode for SQLite.
    • Update db.ts to set connection concurrency to 50.
  • Miscellaneous:
    • Change page title in layout.tsx.
    • Update createRunSchema to use rooCodeSettingsSchema in schemas.ts.

This description was created by Ellipsis for ad69957. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Apr 3, 2025

⚠️ No Changeset found

Latest commit: ad69957

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Apr 3, 2025
@ellipsis-dev
Copy link
Contributor

ellipsis-dev bot commented Apr 3, 2025

Hello @cte,

Thank you for your contribution! After reviewing the pull request, it seems that the changes span across multiple areas, including task processing improvements, form submission logic updates, schema enhancements, and database configuration changes. To ensure clarity and ease of review, it might be beneficial to split this pull request into smaller, more focused ones. Here are some suggestions on how the changes could be grouped:

  1. Task Processing and VS Code Integration: Changes related to task processing improvements and VS Code integration in evals/apps/cli/src/index.ts.

  2. Form Submission and Schema Updates: Updates to form submission logic and schema changes in evals/apps/web/src/app/runs/new/new-run.ts, evals/apps/web/src/hooks/use-open-router-models.ts, and evals/apps/web/src/lib/schemas.ts.

  3. Database Configuration and Scripts: Changes related to database configuration and scripts in evals/packages/db/package.json, evals/packages/db/scripts/enable-wal.mts, evals/packages/db/src/db.ts, and evals/scripts/setup.sh.

  4. Cline Configuration Enhancements: Updates to Cline configuration in src/core/Cline.ts and src/core/webview/ClineProvider.ts.

  5. API Logging and Profile Management: Enhancements to logging and profile management in src/exports/api.ts.

By splitting the pull request, it will be easier for reviewers to focus on specific areas and provide more targeted feedback. Let me know if you have any questions or need further assistance.

Best regards,
Ellipsis

console.log(args)
}

this.logfile = path.join(getWorkspacePath(), "roo-code-messages.log")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a dedicated and consistent logging directory instead of getWorkspacePath() for the logfile. Using the workspace path may lead to inconsistent log locations when the extension is used in different projects. It might be better to use the extension's global storage (e.g. from context) to store logs.

Suggested change
this.logfile = path.join(getWorkspacePath(), "roo-code-messages.log")
this.logfile = path.join(this.context.globalStorageUri.fsPath, "roo-code-messages.log")

@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Apr 4, 2025
@cte cte merged commit 8f35671 into main Apr 4, 2025
12 checks passed
@cte cte deleted the cte/evals-fixes branch April 4, 2025 16:08
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants